<#include "../include/header.html">
<div class="container">
    <#include "../include/left.html">
    <div class="content">
    	<div class="content-head" id="content-head">
	    	<div class="heading">
			    <div class="pull-left">角色权限管理</div>
		    	<@privilege.operate permission="role:add">
		           <div class="pull-right"><a title="新建权限角色" href="/settings/role_2add.do" class="btn btn-color first">+新建权限角色</a></div>
	            </@privilege.operate>
			</div>
		</div>	
		<div class="grid-list-title">
	        <table class="table table-list hover">
                  <tr>
				  	<th width=30></th>
				    <th width=300>角色名称</th>
					<th width=300>查看操作权限</th>
				    <th width=100>状态</th>
					<th>操作</th>
	 	 		</tr>
            </table>
	     </div>
		<div class="grid-list">
			<table class="table table-list hover">
				<tbody id="pager_content">
		  			
		  		</tbody>
	  		</table>
		</div>
		<div class="footer-info">
 		<@privilege.operate permission="role:del">
		    <div class="btn-group" id="_toggleAll" style="padding-top: 10px;">
				<label href="javascript:;" class="btn btn-color first" ><input type="checkbox" id="selectAllbtn">全选/取消</label>
				<a href="javascript:;" class="btn btn-color last" id="del-btn">删除所选</a>	
				<div class="clear"></div>	    
			</div>
		 </@privilege.operate>
		</div>
  		<div id="pager" class="pagination"></div>
	</div>
</div>
<script>
	umei.op = {
		showEdit:"<@privilege.operate permission="role:update">true</@privilege.operate>",
		showDetail:"<@privilege.operate permission="role:showDetail">true</@privilege.operate>"
	}
	seajs.use("settings/role.list.js");
</script>
<#include "../include/buttom.html">
</body>
</html>